package com.auth.cloud.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 认证服务启动类
 *
 * @author auth-cloud
 * @since 2024-01-01
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.auth.cloud.auth", "com.auth.cloud.common"})
public class AuthServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthServiceApplication.class, args);
    }
}
